package com.woniu.mashangxiadan.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("restaurant")
public class Restaurant implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商家id
     */
    @TableId(value = "restaurant_id", type = IdType.AUTO)
    private Integer restaurantId;

    /**
     * 商家店铺名
     */
    private String restaurantName;

    /**
     * 商家地址
     */
    private String restaurantAddress;

    /**
     * 店铺类型
     */
    private Integer restaurantTypeId;

    /**
     * 店铺状态:0关闭/1开启
     */
    private Integer restaurantStatus;

    /**
     * 高级用户/普通用户
     */
    private String premium;

    /**
     * 会员到期时间
     */
    private LocalDateTime premiumEndTime;


}
